from models.deciplex import Deciplex
from decimal import Decimal

addition = lambda x,y : [(Deciplex(1), x+y)]

entanglement = lambda x,y:[(1/Decimal(2).sqrt(),x),
                           (1/Decimal(2).sqrt(), y)]

binary_operations = {"+": addition,
                     "&": entanglement
}
